var cefQuote = function(){
  this.quote = '';
  this.time = '';
  this.test = function(){};
  this.test2 = function(){
    var b = {a:3331};
  };
  var nnn = {a:1};
  external.offsetWindowRect(123);
};
var aaa = {a:2};

var quote = external.createObject("Quote");
function a    (){
  var ab = 1;
  var util = external.createObject('Util');
  external.closeWebDlg();

  var p = external.createObject('Passport');
  var userid = p.get('userid');
}

switchPageAndSelectTab: function(url) {
  var  pageid = url.split('|')[0] || '',
    tabName = url.split('|')[1] || '';
  if (clientApi.getClientVersion() >= '84080') {
    clientApi.thsQuote.switchPage({
      id: pageid,
      tabname: tabName,
      code: '600000'
    });
  } else {
    try {
      clientApi.thsQuote.switchPage(pageid);
      setTimeout(function() {
         clientApi.thsQuote.switchTab(tabName);
      }, 500);
    } catch (e) {

    }
  }
},
